<?php //pack11class

class City24 extends Module {

    public static $transactions = array(79=>"TRANSACTION_SALE",80=>"TRANSACTION_GIVE_RENT");
    public static $currencies = array("EUR"=>"CURRENCY_EUR","LVL"=>"CURRENCY_LVL","USD"=>"CURRENCY_USD");

    public function setup() {
        LanguagesManager::setCurrent(2);
        $objects=ObjectsManager::getObjects(true,true,true);
        foreach($objects as $object) {
            $city24Object = new City24Object();
            $city24Object->buildObject($object);
            if($city24Object->ready) {
                $this->body.=Template::html($city24Object);
            }
        }

        //echo Template::html($this);
    }
}
?>
